﻿using Microsoft.EntityFrameworkCore.Query.Internal;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;

namespace Drive.LiveChat.Model
{
    public class VisitRecord
    {
        public int Id { get; set; }
        public string Url { get; set; }
        public string RefererUrl { get; set; }
        public long VisitorId { get; set; }

        /// <summary>
        /// UTM参数，来源：如朋友圈/pengyouquan
        /// </summary>
        public string utm_source { get; set; }
        /// <summary>
        /// UTM参数，媒介：如社交网络/SNS
        /// </summary>
        public string utm_medium { get; set; }
        /// <summary>
        /// UTM参数，活动：如免费试用/tryfree
        /// </summary>
        public string utm_campaign { get; set; }
        /// <summary>
        ///  UTM参数，内容：如立即开始免费试用
        /// </summary>
        public string utm_content { get; set; }

        public string UserAgent { get; set; }
        public string Ip { get; set; }
        public DateTime CreateTime { get; set; }
        public string SearchKeyword { get; set; }
        public string SearchEngine { get; set; }
    }
}
